package cn.hx.mallBlog.controller;

import cn.hx.mallBlog.entity.CmsTopicComment;
import cn.hx.mallBlog.service.CmsTopicCommentService;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

@Controller
public class PublicController {

    @Resource
    CmsTopicCommentService cmsTopicCommentService;


    /**
     *前端页面测试
     */
    @GetMapping("{path}")
    public String togo(@PathVariable("path") String path) {
        return path;
    }

}
